package com.spring.sunflower.main;

import com.spring.sunflower.base.BaseView;
import com.spring.sunflower.bean.AnchorDetailBean;
import com.spring.sunflower.bean.BannerBean;
import com.spring.sunflower.bean.ChatPeopleBean;
import com.spring.sunflower.bean.NearbyBean;
import com.spring.sunflower.bean.NewestBean;
import com.spring.sunflower.bean.RecommendAnchorsBean;
import com.spring.sunflower.bean.LabelBean;
import com.spring.sunflower.bean.VideoCommentBean;
import com.spring.sunflower.bean.VideoCommentReleaseBean;
import com.spring.sunflower.bean.VideoPlayBean;
import com.spring.sunflower.bean.VideoSubCommentBean;
import com.spring.sunflower.bean.VideoSubCommentReleaseBean;

import java.util.List;

/**
 * Created by Kevin on 2021/6/1<br/>
 * <p>
 * Describe:<br/>
 */
public class MainContract {
    public interface LivelyView extends BaseView {
        void showAnchorData(List<RecommendAnchorsBean.DatasBean> data);

        void showBannerData(List<BannerBean.DatasBean> data);

        void liveApplySuccess();

        void sayHelloSuccess();
    }

    public interface NearbyView extends BaseView {
        void showNearbyData(List<NearbyBean.DatasBean> data);

        void updateLocationSuccess();

        void updateLocationFailed();
    }

    public interface NewestView extends BaseView {
        void showNewestData(List<NewestBean.DatasBean> data);
    }

    public interface MessageView extends BaseView {
        void showChatPeople(List<ChatPeopleBean.DatasBean> data, boolean b);
    }

    public interface MeView extends BaseView {
        void showData(AnchorDetailBean.DatasBean data);

        void showBannerData(List<BannerBean.DatasBean> data);
    }

    public interface SearchView extends BaseView {
    }

    public interface RecommendView extends BaseView {
        void showLabelData(List<LabelBean.DatasBean> data);

        void showAnchorData(List<RecommendAnchorsBean.DatasBean> data);

//        void signSuccess(SignInBean.DatasBean data);
//
//        void signFailed(String data);
//
//        void noSign();
//
//        void hasSigned();
//
//        void sayHello(List<HelloBean.DatasBean> data);
//
//        void noSayHello();
    }

    public interface VideoShowView extends BaseView {
        void showVideoList(List<VideoPlayBean.DatasBean> data);

        void showVideoLikeSuccess();

        void setFollowedSuccess();

        void setFollowedFailed();

        void liveApplySuccess();

        void sayHelloSuccess();

        void releaseCommentSuccess(VideoCommentReleaseBean.DatasBean data);

        void releaseSubCommentSuccess(VideoSubCommentReleaseBean.DatasBean data);

        void showComment(List<VideoCommentBean.DatasBean> data);

        void showSubComment(List<VideoSubCommentBean.DatasBean> data);

        void showCommentLikeSuccess(boolean isChild);
    }

}
